package com.hu.utils.json;

import java.util.List;

/**
 * @author .
 */
public class UserAllJson {
    /**
     * 0为成功
     */
    private final int code = 0;
    /**
     * 返回的提示
     */
    private final String msg = "";
    /**
     * 总条目
     */
    private final long count = 0;
    /**
     * 数据列表
     */
    private List<?> data;

    public static final PageJson FAILURE = new PageJson(SimpleJson.FAILURE);
    public static final PageJson SUCCESS = new PageJson(SimpleJson.SUCCESS);
    public static final PageJson AUTHORITY_FAILURE = new PageJson(2, "权限不足", 0, null);
    public static final PageJson NO_LOGIN_FAILURE = new PageJson(3, "未登录", 0, null);
}
